package cn.tedu.charging.cost.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@TableName("charging_cost_rule")
@Data
public class CostRulePO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id; // 编号

    @TableField(value = "station_id")
    private Integer stationId; // 充电站编号

    @TableField(value = "gun_type")
    private Integer gunType; // 设备类型

    @TableField(value = "name")
    private String name; // 计费名称

    @TableField(value = "start_time")
    private Integer startTime; // 起始时间

    @TableField(value = "end_time")
    private Integer endTime; // 结束时间

    @TableField(value = "power_fee")
    private BigDecimal powerFee; // 电费

    @TableField(value = "service_fee")
    private BigDecimal serviceFee; // 服务费
}
